import { req } from './axiosFun';

// 组织接口
export const getOrganizationList = (params) => {
  return req('post', '/organization/getOrganizationList', params);
};


// 获取组织信息（不分页）
export const getOrganization = (params) => {
  return req('post', '/organization/getOrganization', params);
};

// 组织新增方法
export const insertOrganization = (params) => {
  return req('post', '/organization/insertOrganization', params);
};

// 组织修改方法
export const updateOrganization = (params) => {
  return req('post', '/organization/editOrganization', params);
};

// 组织删除方法
export const removeOrganization = (params) => {
  return req('post', '/organization/removeOrganization', params);
};

// 根据字典ID查询所有字典项值
export const getDictItemByNo = (params) => {
  return req('post', '/dict/getDictItemByNo', params);
};
